# 登录信息、URL、Headers等统一管理
LOGIN_URL = 'https://apin.gkzycc.cn/api/auth/login'
# 大学列表
COLLEGE_API_URL = 'https://apin.gkzycc.cn/api/college/page'
# 专业列表
MAJOR_API_URL = 'https://apin.gkzycc.cn/api/major/list'
# 历年录取
ADMISSION_API_URL = 'https://apin.gkzycc.cn/api/zybPlan/grp'
COOKIE_FILE = 'cookies/gkzy_session.pkl'

LOGIN_DATA = {
    'account': '19947079679',
    'autoLogin': 'true',
    'channel': 2,
    'code': '0',
    'password': '19947079679',
    'uuid': 'zyccn:CodeKey:504ad05842204cd5b741f254165108fc'
}

HEADERS = {
    'Accept': 'application/json, text/plain, */*',
    'Content-Type': 'application/json',
    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',
    'Referer': 'https://wl.gkzycc.cn/',
    'Origin': 'https://wl.gkzycc.cn',
    # TODO 每次请求时需要加上新的token
    'authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiI0MmM2MGE5ODllZjY0NGVhOTdhZTFiMzVlOWEzOTE0NCIsInVzZXIiOiIxOTk0NzA3OTY3OSIsInN1YiI6IjE5OTQ3MDc5Njc5In0.6vajCCqyYmw3NXv-Ty_OaoGRfY5hOIrVb3kQtCnYPKbwa5FYMhkhE2f9pL_-bzMaKawk4CVsxAhqi1MPkNRMlg'
}

MYSQL_CONFIG = {
    "host": "localhost",
    "user": "arch",
    "password": "root",
    "database": "NCEE",
    "port": 3306,
    "charset": "utf8mb4"
}
